In my application there is need to print values of array. I can not use any loop or recursion and want to print all values from http response. There is any way to print java array without using loop or recursion. For Example I have array int [] ={102,202,..12}. now i want to print values as
102,202 .. 12 . Order maintain is not necessary .
Anonymous User
04-Dec-2015char [] crr = {'A','B','C','D','E','F'};System.out.println(" Print Array ="+ Arrays.toString(crr));
String [] brr ={"HTML","PHP","JAVA","C"};ArrayList<String> arr= new ArrayList<String>(Arrays.asList(brr));
System.out.println("ArrayList Is ="+arr);